package com.simple.piger.mapper;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.simple.piger.dto.resp.InviteRecordRespDto;
import com.simple.piger.entity.InviteRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  * 求职记录 Mapper 接口
 * </p>
 *
 * @author baolw
 * @since 2020-02-06
 */
public interface InviteRecordMapper extends BaseMapper<InviteRecord> {

    List<InviteRecordRespDto> list(@Param("pageStart") Integer pageStart,@Param("limit") Integer limit
            ,@Param("inviteCompanyId") String inviteCompanyId,@Param("applyUserId") String applyUserId);

    int count(@Param("inviteCompanyId")String inviteCompanyId,@Param("applyUserId")String applyUserId);
}